﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/FrameMain.master" AutoEventWireup="true" Theme="SkinFile" Inherits="Contact_Inner_List" Title="无标题页" Codebehind="List.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="toolbar">
        <ul>
            <li style="width:85px;"><a id="lnkDispMode" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/common/sort.gif)">
                &nbsp;</b><asp:Literal ID="Literal1" runat="server" Text="名片显示"></asp:Literal></span></a></li>
            <li style="width:85px;"><a id="lnkExport" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/common/export.gif)">
                &nbsp;</b><asp:Literal ID="Literal2" runat="server" Text="导出列表"></asp:Literal></span></a></li>
            <li>
                <asp:Button ID="btnDispMode" runat="server" Text="Button" CssClass="hide"
                    onclick="btnDispMode_Click" />
                <asp:Button ID="btnExport" CssClass="hide"
                    runat="server" Text="Button" onclick="btnExport_Click" />
            </li>
        </ul>
    </div>
    <div id="head">
        <div class="left"><asp:Label ID="lblDirName" runat="server" Text="Label" Font-Bold="True"></asp:Label>&nbsp;<asp:Label
                ID="lblCount" runat="server" Text="Label"></asp:Label></div>
        <div class="right"><asp:TextBox ID="txtCondition" runat="server" CssClass="txt_line" Width="80px"></asp:TextBox>
            <asp:LinkButton ID="btnSearch" runat="server" OnClick="btnSearch_Click">快速检索</asp:LinkButton></div>
    </div>
    <div id="list">
    <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr id="lvHeader" runat="server">
                <th class="sp" style="width:40px; text-align:center;">
                    序号
                </th>
                <th>
                    姓名
                </th>
                <th>
                    手机
                </th>
                <th>
                    工作电话
                </th>
                <th>
                    MSN
                </th>
                <th>
                    电子邮件
                </th>
                <th>
                    QQ
                </th>               
            </tr>
            <asp:ListView ID="lv" runat="server" ItemPlaceholderID="items" OnItemDataBound="lv_ItemDataBound">
                <LayoutTemplate>
                    <tr id="items" runat="server">
                    </tr>
                </LayoutTemplate>
                <ItemTemplate>
                <tr>
                    <td style="text-align:center;"><asp:Literal ID="litIndex" runat="server"></asp:Literal></td>
                    <td><%#Eval("Name") %></td>
                    <td><%#Eval("Mobile") %></td>
                    <td><%#Eval("OfficePhone")%></td>
                    <td><%#Eval("MSN")%></td>
                    <td><%#Eval("Email") %></td>
                    <td><%#Eval("QQ") %></td>                    
                </tr>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr>
                        <td colspan="7" class="empty">没有联系人</td>
                    </tr>
                </EmptyDataTemplate>
            </asp:ListView>
        </table>
        
    </div>
</asp:Content>
